#pragma once
#include "IDisposable.h"

class EXPORT Resource : public IDisposeable
{
	bool allocated;
public:
	Resource();

	virtual void Dispose() = 0;

protected:
	bool IsAllocated();
	void SetAllocated();
};

